/*
 * @Description: 
 * @Version: 
 * @Autor: LiChuang
 * @Date: 2023-11-13 22:14:51
 * @LastEditors: 
 * @LastEditTime: 2023-11-14 22:40:36
 */

const data = [
  {
    path: "/system",
    component: "Layout",
    redirect: "/system/user",
    meta: {
      title: "系统管理",
      icon: "system",
      hidden: false,
      roles: ["ADMIN"],
      keepAlive: true,
    },
    children: [
      {
        path: "user",
        component: "system/user/index",
        name: "User",
        meta: {
          title: "用户管理",
          icon: "user",
          hidden: false,
          roles: ["ADMIN"],
          keepAlive: true,
        },
      },
      {
        path: "role",
        component: "system/role/index",
        name: "Role",
        meta: {
          title: "角色管理",
          icon: "role",
          hidden: false,
          roles: ["ADMIN"],
          keepAlive: true,
        },
      },
      {
        path: "menu",
        component: "system/menu/index",
        name: "Menu",
        meta: {
          title: "菜单管理",
          icon: "menu",
          hidden: false,
          roles: ["ADMIN"],
          keepAlive: true,
        },
      },
      {
        path: "dept",
        component: "system/dept/index",
        name: "Dept",
        meta: {
          title: "部门管理",
          icon: "tree",
          hidden: false,
          roles: ["ADMIN"],
          keepAlive: true,
        },
      },
      {
        path: "dict",
        component: "system/dict/index",
        name: "DictType",
        meta: {
          title: "字典管理",
          icon: "dict",
          hidden: false,
          roles: ["ADMIN"],
          keepAlive: true,
        },
      },
    ],
  }
]

export default data
